<?php

namespace Tests\Feature;

use Tests\TestCase;

class PermissionControllerTest extends TestCase
{
  public static function setUpBeforeClass(): void
  {
    self::$model = 'App\Models\Permission';
    self::$table = 'permissions';
    self::$searchExpr = 'slug=[lk]read-permissions';
    self::$searchRecord = ['slug', '=', 'read-permissions'];
    self::$toIns = [
      'slug' => 'all-permissions',
      'name' => 'All permissions',
    ];
    self::$searchToUpd = ['slug', '=', 'all-permissions'];
    self::$toUpd = ['name' => 'All permissions'];
    self::$searchToDel = ['slug', '=', 'all-permissions'];
  }
}
